package cn.itcast.mapper;

import cn.itcast.pojo.merchant;
import cn.itcast.pojo.merchantExample;
import java.util.List;

import cn.itcast.pojo.order;
import org.apache.ibatis.annotations.Param;

public interface merchantMapper {
    int countByExample(merchantExample example);

    int deleteByExample(merchantExample example);

    int deleteByPrimaryKey(Integer merchantId);

    int insert(merchant record);

    int insertSelective(merchant record);

    List<merchant> selectByExample(merchantExample example);

    List<merchant> selectAllIsopenMerchant();

    merchant selectByPrimaryKey(Integer merchantId);

    int updateByExampleSelective(@Param("record") merchant record, @Param("example") merchantExample example);

    int updateByExample(@Param("record") merchant record, @Param("example") merchantExample example);

    int updateByPrimaryKeySelective(merchant record);

    int updateByPrimaryKey(merchant record);

    //查询门店信息经度纬度
    List<merchant>selectLatLon();

    boolean updatechantmessagemapp(merchant merchant);

    merchant selectidmerchantmapp(String opnid);




}